Passed
Push — master ( 42b3d9...1e444f )
by
unknown
02:27
created

HtmlColumn.toString   A

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
1
export class HtmlColumn {
2
  public readonly isRaw = true;
3
4
  constructor(private readonly text: string, private readonly html: string) {}
5
6
  public getRaw(): string {
7
    return this.html;
8
  }
9
10
  public toString() {
11
    return this.text;
12
  }
13
}
14